home *** CD-ROM | disk | FTP | other *** search
/ CD Actual 22 / PC Actual CD 22.iso / SHARE / prog / POVRAY / E-P-O.ZIP / THING-3.INC < prev    next >
Encoding:
Text File  |  1996-10-31  |  2.3 KB  |  70 lines

  1.  
  2. //------------------------------------------------------------------->
  3. //
  4. // thing-3.inc
  5. //
  6. // "Easy POV Oven"
  7. //
  8. // Written By: Paul T. Dawson
  9. //             ptdawson@voicenet.com
  10. //             http://www.voicenet.com/~ptdawson
  11. //
  12. // All code and techniques are PUBLIC DOMAIN - have fun with it!
  13. //
  14. //------------------------------------------------------------------->
  15. //
  16. // Thing_3 is a bunch of mirror spheres over a checkerboard (cliche!).
  17. //
  18. //------------------------------------------------------------------->
  19.  
  20.         #declare Lollipop = union {
  21.  
  22.                 sphere { < 0, 2, 0 >, 0.6
  23.                         pigment { White }
  24.                         finish { Mirror }
  25.                         } // End of sphere.
  26.  
  27.                 // The stick is a little too long,
  28.                 // so it pokes through the table!?!
  29.  
  30.                         cylinder { < 0, -0.5, 0 >< 0, 2, 0 >, 0.1
  31.                                 pigment { Red }
  32.                                 } // End of cylinder.
  33.  
  34.                 } // End of union.
  35.  
  36.         #declare Thing_3 = union {
  37.  
  38.         // The checker floor.
  39.                 cylinder { <0,0.1,0><0,0.3,0>,3.7
  40.                         pigment { checker Green, Yellow
  41.                                 translate < 0.5, 0, 0.5 > }
  42.                         } // End of cylinder.
  43.  
  44.         // Outside eight.
  45.                 object { Lollipop translate < -1, 0,  3 > }
  46.                 object { Lollipop translate <  1, 0,  3 > }
  47.  
  48.                 object { Lollipop translate < -3, 0,  1 > }
  49.                 object { Lollipop translate <  3, 0,  1 > }
  50.  
  51.                 object { Lollipop translate < -3, 0, -1 > }
  52.                 object { Lollipop translate <  3, 0, -1 > }
  53.  
  54.                 object { Lollipop translate < -1, 0, -3 > }
  55.                 object { Lollipop translate <  1, 0, -3 > }
  56.  
  57.         // Center four (higher).
  58.                 object { Lollipop translate < -1, 0.5,  1 > }
  59.                 object { Lollipop translate <  1, 0.5,  1 > }
  60.  
  61.                 object { Lollipop translate < -1, 0.5, -1 > }
  62.                 object { Lollipop translate <  1, 0.5, -1 > }
  63.  
  64.         } // End of union.
  65.  
  66. //------------------------------------------------------------------->
  67. //
  68. // End of this file.
  69.  
  70.